<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台管理登录界面</title>
    <link href="public/css/alogin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server" action="./dologin.php" method="post">
    <div class="Main">
        <ul>
            <li class="top"></li>
            <li class="top2"></li>
            <li class="topA"></li>
            <li class="topB"><span><img src="../common/admin/img/login/logo.gif" alt="" style="" /></span></li>
            <li class="topC"></li>
            <li class="topD">
                <ul class="login">
                    <li>
						<span class="left login-text">用户名：</span> <span style="left">
							<input id="Text1" type="text" class="txt" name="username"/>                      
						</span>
					</li>
                    <li>
						<span class="left login-text">密码：</span> <span style="left">
							<input id="Text2" type="password" class="txt" name="password" />  
						</span>
					</li>
                 
                </ul>
            </li>
            <li class="topE"></li>
            <li class="middle_A"></li>
            <li class="middle_B"></li>
            <li class="middle_C">
				<span class="left login-text">验证码：</span> <span style="left">
				<input id="Text2" type="text" class="txt" name="code" />  
				</span>
				<span class="btn" style="">				
				<img src="../common/code.php" style="width:100px;height:35px;"/>
				<input name="" type="image" src="../common/admin/img/login/btnlogin.gif" />
				</span>
			</li>
            <li class="middle_D"></li>
            <li class="bottom_A"></li>
            <li class="bottom_B">网站后台管理系统&nbsp;&nbsp;www.bbs.com</li>
        </ul>
    </div>
    </form>
</body>
</html>
<?php
if(isset($_GET['error'])){
	switch($_GET['error']){
		case 1:echo '用户名错误';break;
		case 2:echo '密码错误';break;
		case 3:echo '用户无登录权限';break;
	}
}
?>